package com.github.catvod.spider.merge;

import java.util.ArrayList;

enum Ib {
  BQ, F8, GM, I, PD, PU, Qy, V0, W, h, i4, iU, j, j5, n, oC, oq, q, t, u, w4, y, yx;
  
  private static final String LW;
  
  private static final Ib[] Og;
  
  static {
    kb kb = new kb("Initial", 0);
    h = kb;
    BU bU = new BU("BeforeHtml", 1);
    V0 = bU;
    MC mC = new MC("BeforeHead", 2);
    j = mC;
    E e = new E("InHead", 3);
    q = e;
    TL tL = new TL("InHeadNoscript", 4);
    I = tL;
    A a = new A("AfterHead", 5);
    oC = a;
    cy cy = new cy("InBody", 6);
    BQ = cy;
    z z = new z("Text", 7);
    W = z;
    EE eE = new EE("InTable", 8);
    u = eE;
    Tw tw = new Tw("InTableText", 9);
    Qy = tw;
    yh yh = new yh("InCaption", 10);
    oq = yh;
    HA hA = new HA("InColumnGroup", 11);
    F8 = hA;
    d d = new d("InTableBody", 12);
    t = d;
    c c = new c("InRow", 13);
    n = c;
    W w = new W("InCell", 14);
    iU = w;
    qM qM = new qM("InSelect", 15);
    i4 = qM;
    x x = new x("InSelectInTable", 16);
    y = x;
    j j = new j("AfterBody", 17);
    PD = j;
    i i = new i("InFrameset", 18);
    j5 = i;
    H h = new H("AfterFrameset", 19);
    GM = h;
    q q = new q("AfterAfterBody", 20);
    PU = q;
    p p = new p("AfterAfterFrameset", 21);
    yx = p;
    pt pt = new pt("ForeignContent", 22);
    w4 = pt;
    Og = new Ib[] { 
        kb, bU, mC, e, tL, a, cy, z, eE, tw, 
        yh, hA, d, c, w, qM, x, j, i, h, 
        q, p, pt };
    LW = String.valueOf(false);
  }
  
  private static void BQ(B.x paramx, vg paramvg) {
    paramvg.j.w4(xb.j);
    paramvg.hP();
    paramvg.L0(W);
    paramvg.FE(paramx);
  }
  
  private static boolean W(String paramString) {
    return ZG.oC(paramString);
  }
  
  private static void oC(B.x paramx, vg paramvg) {
    paramvg.j.w4(xb.I);
    paramvg.hP();
    paramvg.L0(W);
    paramvg.FE(paramx);
  }
  
  private static boolean u(B paramB) {
    return paramB.BQ() ? ZG.oC(paramB.h().y()) : false;
  }
  
  abstract boolean Qy(B paramB, vg paramvg);
  
  enum A {
    private boolean oq(B param1B, vg param1vg) {
      param1vg.W("body");
      param1vg.j5(true);
      return param1vg.oC(param1B);
    }
    
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
      } else if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else if (param1B.u()) {
        param1vg.PD(this);
      } else if (param1B.F8()) {
        B.x x = param1B.I();
        String str = x.l();
        if (str.equals("html"))
          return param1vg.Yd(param1B, Ib.BQ); 
        if (str.equals("body")) {
          param1vg.FE(x);
          param1vg.j5(false);
          param1vg.L0(Ib.BQ);
        } else if (str.equals("frameset")) {
          param1vg.FE(x);
          param1vg.L0(Ib.j5);
        } else if (ZG.q(str, Ib.sy.BQ)) {
          param1vg.PD(this);
          Lm lm = param1vg.C4();
          param1vg.lu(lm);
          param1vg.Yd(param1B, Ib.q);
          param1vg.Pi(lm);
        } else {
          if (str.equals("head")) {
            param1vg.PD(this);
            return false;
          } 
          oq(param1B, param1vg);
        } 
      } else if (param1B.oq()) {
        if (ZG.q(param1B.q().l(), Ib.sy.q)) {
          oq(param1B, param1vg);
        } else {
          param1vg.PD(this);
          return false;
        } 
      } else {
        oq(param1B, param1vg);
      } 
      return true;
    }
  }
  
  enum BU {
    private boolean oq(B param1B, vg param1vg) {
      param1vg.d1("html");
      param1vg.L0(Ib.j);
      return param1vg.oC(param1B);
    }
    
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.u()) {
        param1vg.PD(this);
        return false;
      } 
      if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
      } else {
        if (param1B.F8() && param1B.I().l().equals("html")) {
          param1vg.FE(param1B.I());
          param1vg.L0(Ib.j);
          return true;
        } 
        if (param1B.oq() && ZG.q(param1B.q().l(), Ib.sy.I))
          return oq(param1B, param1vg); 
        if (param1B.oq()) {
          param1vg.PD(this);
          return false;
        } 
        return oq(param1B, param1vg);
      } 
      return true;
    }
  }
  
  enum E {
    private boolean oq(B param1B, vt param1vt) {
      param1vt.BQ("head");
      return param1vt.oC(param1B);
    }
    
    boolean Qy(B param1B, vg param1vg) {
      Lm lm;
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
        return true;
      } 
      int i = Ib.RN.h[param1B.h.ordinal()];
      if (i != 1) {
        if (i != 2) {
          if (i != 3) {
            if (i != 4)
              return oq(param1B, param1vg); 
            String str = param1B.q().l();
            if (str.equals("head")) {
              param1vg.rG();
              param1vg.L0(Ib.oC);
            } else {
              if (ZG.q(str, Ib.sy.j))
                return oq(param1B, param1vg); 
              param1vg.PD(this);
              return false;
            } 
          } else {
            B.x x = param1B.I();
            String str = x.l();
            if (str.equals("html"))
              return Ib.BQ.Qy(param1B, param1vg); 
            if (ZG.q(str, Ib.sy.h)) {
              lm = param1vg.E(x);
              if (str.equals("base") && lm.i4("href"))
                param1vg.nO(lm); 
            } else if (str.equals("meta")) {
              param1vg.E(x);
            } else if (str.equals("title")) {
              Ib.V0(x, param1vg);
            } else if (ZG.q(str, Ib.sy.V0)) {
              Ib.j(x, param1vg);
            } else if (str.equals("noscript")) {
              param1vg.FE(x);
              param1vg.L0(Ib.I);
            } else if (str.equals("script")) {
              param1vg.j.w4(xb.oC);
              param1vg.hP();
              param1vg.L0(Ib.W);
              param1vg.FE(x);
            } else {
              if (str.equals("head")) {
                param1vg.PD(this);
                return false;
              } 
              return oq((B)lm, param1vg);
            } 
          } 
        } else {
          param1vg.PD(this);
          return false;
        } 
      } else {
        param1vg.qG(lm.V0());
      } 
      return true;
    }
  }
  
  enum EE {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.BQ()) {
        param1vg.yp();
        param1vg.hP();
        param1vg.L0(Ib.Qy);
        return param1vg.oC(param1B);
      } 
      if (param1B.W()) {
        param1vg.qG(param1B.V0());
        return true;
      } 
      if (param1B.u()) {
        param1vg.PD(this);
        return false;
      } 
      if (param1B.F8()) {
        B.x x = param1B.I();
        String str = x.l();
        if (str.equals("caption")) {
          param1vg.i4();
          param1vg.M();
          param1vg.FE(x);
          param1vg.L0(Ib.oq);
        } else if (str.equals("colgroup")) {
          param1vg.i4();
          param1vg.FE(x);
          param1vg.L0(Ib.F8);
        } else {
          if (str.equals("col")) {
            param1vg.W("colgroup");
            return param1vg.oC(param1B);
          } 
          if (ZG.q(str, Ib.sy.PU)) {
            param1vg.i4();
            param1vg.FE(x);
            param1vg.L0(Ib.t);
          } else {
            if (ZG.q(str, Ib.sy.yx)) {
              param1vg.W("tbody");
              return param1vg.oC(param1B);
            } 
            if (str.equals("table")) {
              param1vg.PD(this);
              if (param1vg.BQ("table"))
                return param1vg.oC(param1B); 
            } else {
              if (ZG.q(str, Ib.sy.w4))
                return param1vg.Yd(param1B, Ib.q); 
              if (str.equals("input")) {
                if (!x.R() || !x.Qy.oq("type").equalsIgnoreCase("hidden"))
                  return oq(param1B, param1vg); 
                param1vg.E(x);
              } else {
                if (str.equals("form")) {
                  param1vg.PD(this);
                  if (param1vg.R() != null)
                    return false; 
                  param1vg.rl(x, false);
                  return true;
                } 
                return oq(param1B, param1vg);
              } 
            } 
          } 
        } 
        return true;
      } 
      if (param1B.oq()) {
        String str = param1B.q().l();
        if (str.equals("table")) {
          if (!param1vg.H9(str)) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.S("table");
          param1vg.e();
          return true;
        } 
        if (ZG.q(str, Ib.sy.C4)) {
          param1vg.PD(this);
          return false;
        } 
        return oq(param1B, param1vg);
      } 
      if (param1B.Qy()) {
        if (param1vg.h().w().equals("html"))
          param1vg.PD(this); 
        return true;
      } 
      return oq(param1B, param1vg);
    }
    
    boolean oq(B param1B, vg param1vg) {
      boolean bool;
      param1vg.PD(this);
      if (ZG.q(param1vg.h().w(), Ib.sy.f)) {
        param1vg.Kg(true);
        bool = param1vg.Yd(param1B, Ib.BQ);
        param1vg.Kg(false);
      } else {
        bool = param1vg.Yd(param1B, Ib.BQ);
      } 
      return bool;
    }
  }
  
  enum H {
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
      } else if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        if (param1B.u()) {
          param1vg.PD(this);
          return false;
        } 
        if (param1B.F8() && param1B.I().l().equals("html"))
          return param1vg.Yd(param1B, Ib.BQ); 
        if (param1B.oq() && param1B.q().l().equals("html")) {
          param1vg.L0(Ib.yx);
        } else {
          if (param1B.F8() && param1B.I().l().equals("noframes"))
            return param1vg.Yd(param1B, Ib.q); 
          if (!param1B.Qy()) {
            param1vg.PD(this);
            return false;
          } 
        } 
      } 
      return true;
    }
  }
  
  enum HA {
    private boolean oq(B param1B, vt param1vt) {
      return param1vt.BQ("colgroup") ? param1vt.oC(param1B) : true;
    }
    
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
        return true;
      } 
      int i = Ib.RN.h[param1B.h.ordinal()];
      if (i != 1) {
        if (i != 2) {
          if (i != 3) {
            if (i != 4)
              return (i != 6) ? oq(param1B, param1vg) : (param1vg.h().w().equals("html") ? true : oq(param1B, param1vg)); 
            if ((param1B.q()).j.equals("colgroup")) {
              if (param1vg.h().w().equals("html")) {
                param1vg.PD(this);
                return false;
              } 
              param1vg.rG();
              param1vg.L0(Ib.u);
            } else {
              return oq(param1B, param1vg);
            } 
          } else {
            B.x x = param1B.I();
            String str = x.l();
            str.hashCode();
            if (!str.equals("col"))
              return !str.equals("html") ? oq(param1B, param1vg) : param1vg.Yd(param1B, Ib.BQ); 
            param1vg.E(x);
          } 
        } else {
          param1vg.PD(this);
        } 
      } else {
        param1vg.qG(param1B.V0());
      } 
      return true;
    }
  }
  
  enum MC {
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
      } else if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        if (param1B.u()) {
          param1vg.PD(this);
          return false;
        } 
        if (param1B.F8() && param1B.I().l().equals("html"))
          return Ib.BQ.Qy(param1B, param1vg); 
        if (param1B.F8() && param1B.I().l().equals("head")) {
          param1vg.TD(param1vg.FE(param1B.I()));
          param1vg.L0(Ib.q);
          return true;
        } 
        if (param1B.oq() && ZG.q(param1B.q().l(), Ib.sy.I)) {
          param1vg.W("head");
          return param1vg.oC(param1B);
        } 
        if (param1B.oq()) {
          param1vg.PD(this);
          return false;
        } 
        param1vg.W("head");
        return param1vg.oC(param1B);
      } 
      return true;
    }
  }
  
  enum TL {
    private boolean oq(B param1B, vg param1vg) {
      param1vg.PD(this);
      param1vg.v((new B.HA()).i4(param1B.toString()));
      return true;
    }
    
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.u()) {
        param1vg.PD(this);
      } else {
        if (param1B.F8() && param1B.I().l().equals("html"))
          return param1vg.Yd(param1B, Ib.BQ); 
        if (param1B.oq() && param1B.q().l().equals("noscript")) {
          param1vg.rG();
          param1vg.L0(Ib.q);
          return true;
        } 
        if (Ib.h(param1B) || param1B.W() || (param1B.F8() && ZG.q(param1B.I().l(), Ib.sy.oC)))
          return param1vg.Yd(param1B, Ib.q); 
        if (param1B.oq() && param1B.q().l().equals("br"))
          return oq(param1B, param1vg); 
        if ((param1B.F8() && ZG.q(param1B.I().l(), Ib.sy.z)) || param1B.oq()) {
          param1vg.PD(this);
          return false;
        } 
        return oq(param1B, param1vg);
      } 
      return true;
    }
  }
  
  enum Tw {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.h == B.i.I) {
        param1B = param1B.h();
        if (param1B.y().equals(Ib.q())) {
          param1vg.PD(this);
          return false;
        } 
        param1vg.f().add(param1B.y());
        return true;
      } 
      if (param1vg.f().size() > 0) {
        for (String str : param1vg.f()) {
          if (!Ib.I(str)) {
            param1vg.PD(this);
            if (ZG.q(param1vg.h().w(), Ib.sy.f)) {
              param1vg.Kg(true);
              param1vg.Yd((new B.HA()).i4(str), Ib.BQ);
              param1vg.Kg(false);
              continue;
            } 
            param1vg.Yd((new B.HA()).i4(str), Ib.BQ);
            continue;
          } 
          param1vg.v((new B.HA()).i4(str));
        } 
        param1vg.yp();
      } 
      param1vg.L0(param1vg.Xu());
      return param1vg.oC(param1B);
    }
  }
  
  enum W {
    private void F8(vg param1vg) {
      if (param1vg.H9("td")) {
        param1vg.BQ("td");
      } else {
        param1vg.BQ("th");
      } 
    }
    
    private boolean oq(B param1B, vg param1vg) {
      return param1vg.Yd(param1B, Ib.BQ);
    }
    
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.oq()) {
        String str = param1B.q().l();
        if (ZG.q(str, Ib.sy.LW)) {
          if (!param1vg.H9(str)) {
            param1vg.PD(this);
            param1vg.L0(Ib.n);
            return false;
          } 
          param1vg.PU();
          if (!param1vg.h().w().equals(str))
            param1vg.PD(this); 
          param1vg.S(str);
          param1vg.t();
          param1vg.L0(Ib.n);
          return true;
        } 
        if (ZG.q(str, Ib.sy.Og)) {
          param1vg.PD(this);
          return false;
        } 
        if (ZG.q(str, Ib.sy.R)) {
          if (!param1vg.H9(str)) {
            param1vg.PD(this);
            return false;
          } 
          F8(param1vg);
          return param1vg.oC(param1B);
        } 
        return oq(param1B, param1vg);
      } 
      if (param1B.F8() && ZG.q(param1B.I().l(), Ib.sy.b)) {
        if (!param1vg.H9("td") && !param1vg.H9("th")) {
          param1vg.PD(this);
          return false;
        } 
        F8(param1vg);
        return param1vg.oC(param1B);
      } 
      return oq(param1B, param1vg);
    }
  }
  
  enum c {
    private boolean F8(B param1B, vt param1vt) {
      return param1vt.BQ("tr") ? param1vt.oC(param1B) : false;
    }
    
    private boolean oq(B param1B, vg param1vg) {
      return param1vg.Yd(param1B, Ib.u);
    }
    
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.F8()) {
        B.x x = param1B.I();
        String str = x.l();
        if (str.equals("template")) {
          param1vg.FE(x);
        } else if (ZG.q(str, Ib.sy.LW)) {
          param1vg.y();
          param1vg.FE(x);
          param1vg.L0(Ib.iU);
          param1vg.M();
        } else {
          return ZG.q(str, Ib.sy.nf) ? F8(param1B, param1vg) : oq(param1B, param1vg);
        } 
      } else {
        if (param1B.oq()) {
          String str = param1B.q().l();
          if (str.equals("tr")) {
            if (!param1vg.H9(str)) {
              param1vg.PD(this);
              return false;
            } 
            param1vg.y();
            param1vg.rG();
            param1vg.L0(Ib.t);
          } else {
            if (str.equals("table"))
              return F8(param1B, param1vg); 
            if (ZG.q(str, Ib.sy.PU)) {
              if (!param1vg.H9(str) || !param1vg.H9("tr")) {
                param1vg.PD(this);
                return false;
              } 
              param1vg.y();
              param1vg.rG();
              param1vg.L0(Ib.t);
              return true;
            } 
            if (ZG.q(str, Ib.sy.rd)) {
              param1vg.PD(this);
              return false;
            } 
            return oq(param1B, param1vg);
          } 
          return true;
        } 
        return oq(param1B, param1vg);
      } 
      return true;
    }
  }
  
  enum cy {
    private boolean F8(B param1B, vg param1vg) {
      mx mx;
      String[] arrayOfString;
      B.qM qM = param1B.q();
      String str = qM.l();
      str.hashCode();
      int i = str.hashCode();
      byte b = -1;
      switch (i) {
        case 1869063452:
          if (!str.equals("sarcasm"))
            break; 
          b = 15;
          break;
        case 3536714:
          if (!str.equals("span"))
            break; 
          b = 14;
          break;
        case 3213227:
          if (!str.equals("html"))
            break; 
          b = 13;
          break;
        case 3148996:
          if (!str.equals("form"))
            break; 
          b = 12;
          break;
        case 3029410:
          if (!str.equals("body"))
            break; 
          b = 11;
          break;
        case 3453:
          if (!str.equals("li"))
            break; 
          b = 10;
          break;
        case 3278:
          if (!str.equals("h6"))
            break; 
          b = 9;
          break;
        case 3277:
          if (!str.equals("h5"))
            break; 
          b = 8;
          break;
        case 3276:
          if (!str.equals("h4"))
            break; 
          b = 7;
          break;
        case 3275:
          if (!str.equals("h3"))
            break; 
          b = 6;
          break;
        case 3274:
          if (!str.equals("h2"))
            break; 
          b = 5;
          break;
        case 3273:
          if (!str.equals("h1"))
            break; 
          b = 4;
          break;
        case 3216:
          if (!str.equals("dt"))
            break; 
          b = 3;
          break;
        case 3200:
          if (!str.equals("dd"))
            break; 
          b = 2;
          break;
        case 3152:
          if (!str.equals("br"))
            break; 
          b = 1;
          break;
        case 112:
          if (!str.equals("p"))
            break; 
          b = 0;
          break;
      } 
      switch (b) {
        default:
          if (ZG.q(str, Ib.sy.j5))
            return t(param1B, param1vg); 
          if (ZG.q(str, Ib.sy.PD)) {
            if (!param1vg.rd(str)) {
              param1vg.PD(this);
              return false;
            } 
            param1vg.PU();
            if (!param1vg.h().w().equals(str))
              param1vg.PD(this); 
            param1vg.S(str);
          } else if (ZG.q(str, Ib.sy.t)) {
            if (!param1vg.rd("name")) {
              if (!param1vg.rd(str)) {
                param1vg.PD(this);
                return false;
              } 
              param1vg.PU();
              if (!param1vg.h().w().equals(str))
                param1vg.PD(this); 
              param1vg.S(str);
              param1vg.t();
            } 
          } else {
            return oq(param1B, param1vg);
          } 
          return true;
        case 14:
        case 15:
          return oq(param1B, param1vg);
        case 13:
          return param1vg.BQ("body") ? param1vg.oC(qM) : true;
        case 12:
          mx = param1vg.R();
          param1vg.J(null);
          if (mx == null || !param1vg.rd(str)) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.PU();
          if (!param1vg.h().w().equals(str))
            param1vg.PD(this); 
          param1vg.Pi(mx);
          return true;
        case 11:
          if (!param1vg.rd("body")) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.L0(Ib.PD);
          return true;
        case 10:
          if (!param1vg.nf(str)) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.yx(str);
          if (!param1vg.h().w().equals(str))
            param1vg.PD(this); 
          param1vg.S(str);
          return true;
        case 4:
        case 5:
        case 6:
        case 7:
        case 8:
        case 9:
          arrayOfString = Ib.sy.u;
          if (!param1vg.V(arrayOfString)) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.yx(str);
          if (!param1vg.h().w().equals(str))
            param1vg.PD(this); 
          param1vg.w(arrayOfString);
          return true;
        case 2:
        case 3:
          if (!param1vg.rd(str)) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.yx(str);
          if (!param1vg.h().w().equals(str))
            param1vg.PD(this); 
          param1vg.S(str);
          return true;
        case 1:
          param1vg.PD(this);
          param1vg.W("br");
          return false;
        case 0:
          break;
      } 
      if (!param1vg.l(str)) {
        param1vg.PD(this);
        param1vg.W(str);
        return param1vg.oC(qM);
      } 
      param1vg.yx(str);
      if (!param1vg.h().w().equals(str))
        param1vg.PD(this); 
      param1vg.S(str);
      return true;
    }
    
    private boolean n(B param1B, vg param1vg) {
      String str1;
      QF qF;
      Lm lm3;
      ArrayList<Lm> arrayList2;
      Lm lm2;
      ArrayList<Lm> arrayList1;
      Ib ib;
      B.x x = param1B.I();
      String str2 = x.l();
      str2.hashCode();
      int j = str2.hashCode();
      int i = -1;
      switch (j) {
        case 2115613112:
          if (!str2.equals("noembed"))
            break; 
          i = 35;
          break;
        case 2091304424:
          if (!str2.equals("isindex"))
            break; 
          i = 34;
          break;
        case 1973234167:
          if (!str2.equals("plaintext"))
            break; 
          i = 33;
          break;
        case 181975684:
          if (!str2.equals("listing"))
            break; 
          i = 32;
          break;
        case 110115790:
          if (!str2.equals("table"))
            break; 
          i = 31;
          break;
        case 100358090:
          if (!str2.equals("input"))
            break; 
          i = 30;
          break;
        case 100313435:
          if (!str2.equals("image"))
            break; 
          i = 29;
          break;
        case 3536714:
          if (!str2.equals("span"))
            break; 
          i = 28;
          break;
        case 3386833:
          if (!str2.equals("nobr"))
            break; 
          i = 27;
          break;
        case 3344136:
          if (!str2.equals("math"))
            break; 
          i = 26;
          break;
        case 3213227:
          if (!str2.equals("html"))
            break; 
          i = 25;
          break;
        case 3148996:
          if (!str2.equals("form"))
            break; 
          i = 24;
          break;
        case 3029410:
          if (!str2.equals("body"))
            break; 
          i = 23;
          break;
        case 118811:
          if (!str2.equals("xmp"))
            break; 
          i = 22;
          break;
        case 114276:
          if (!str2.equals("svg"))
            break; 
          i = 21;
          break;
        case 111267:
          if (!str2.equals("pre"))
            break; 
          i = 20;
          break;
        case 3650:
          if (!str2.equals("rt"))
            break; 
          i = 19;
          break;
        case 3646:
          if (!str2.equals("rp"))
            break; 
          i = 18;
          break;
        case 3453:
          if (!str2.equals("li"))
            break; 
          i = 17;
          break;
        case 3338:
          if (!str2.equals("hr"))
            break; 
          i = 16;
          break;
        case 3278:
          if (!str2.equals("h6"))
            break; 
          i = 15;
          break;
        case 3277:
          if (!str2.equals("h5"))
            break; 
          i = 14;
          break;
        case 3276:
          if (!str2.equals("h4"))
            break; 
          i = 13;
          break;
        case 3275:
          if (!str2.equals("h3"))
            break; 
          i = 12;
          break;
        case 3274:
          if (!str2.equals("h2"))
            break; 
          i = 11;
          break;
        case 3273:
          if (!str2.equals("h1"))
            break; 
          i = 10;
          break;
        case 3216:
          if (!str2.equals("dt"))
            break; 
          i = 9;
          break;
        case 3200:
          if (!str2.equals("dd"))
            break; 
          i = 8;
          break;
        case 97:
          if (!str2.equals("a"))
            break; 
          i = 7;
          break;
        case -80773204:
          if (!str2.equals("optgroup"))
            break; 
          i = 6;
          break;
        case -906021636:
          if (!str2.equals("select"))
            break; 
          i = 5;
          break;
        case -1003243718:
          if (!str2.equals("textarea"))
            break; 
          i = 4;
          break;
        case -1010136971:
          if (!str2.equals("option"))
            break; 
          i = 3;
          break;
        case -1191214428:
          if (!str2.equals("iframe"))
            break; 
          i = 2;
          break;
        case -1377687758:
          if (!str2.equals("button"))
            break; 
          i = 1;
          break;
        case -1644953643:
          if (!str2.equals("frameset"))
            break; 
          i = 0;
          break;
      } 
      switch (i) {
        default:
          if (ZG.q(str2, Ib.sy.n)) {
            param1vg.P();
            param1vg.E(x);
            param1vg.j5(false);
          } else if (ZG.q(str2, Ib.sy.W)) {
            if (param1vg.l("p"))
              param1vg.BQ("p"); 
            param1vg.FE(x);
          } else {
            if (ZG.q(str2, Ib.sy.BQ))
              return param1vg.Yd(param1B, Ib.q); 
            if (ZG.q(str2, Ib.sy.F8)) {
              param1vg.P();
              param1vg.vm(param1vg.FE(x));
            } else if (ZG.q(str2, Ib.sy.t)) {
              param1vg.P();
              param1vg.FE(x);
              param1vg.M();
              param1vg.j5(false);
            } else if (ZG.q(str2, Ib.sy.iU)) {
              param1vg.E(x);
            } else {
              if (ZG.q(str2, Ib.sy.y)) {
                param1vg.PD(this);
                return false;
              } 
              param1vg.P();
              param1vg.FE(x);
            } 
          } 
          return true;
        case 35:
          Ib.j(x, param1vg);
          return true;
        case 34:
          param1vg.PD(this);
          if (param1vg.R() != null)
            return false; 
          param1vg.W("form");
          if (x.Og("action"))
            param1vg.R().HU("action", x.Qy.oq("action")); 
          param1vg.W("hr");
          param1vg.W("label");
          if (x.Og("prompt")) {
            str1 = x.Qy.oq("prompt");
          } else {
            str1 = "This is a searchable index. Enter search keywords: ";
          } 
          param1vg.oC((new B.HA()).i4(str1));
          qF = new QF();
          if (x.R())
            for (tF tF : x.Qy) {
              if (!ZG.q(tF.V0(), Ib.sy.i4))
                qF.w4(tF); 
            }  
          qF.yx("name", "isindex");
          param1vg.u("input", qF);
          param1vg.BQ("label");
          param1vg.W("hr");
          param1vg.BQ("form");
          return true;
        case 33:
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.FE((B.x)tF);
          param1vg.j.w4(xb.BQ);
          return true;
        case 31:
          if (param1vg.Og().pW() != HZ.yh.V0 && param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.FE((B.x)tF);
          param1vg.j5(false);
          param1vg.L0(Ib.u);
          return true;
        case 30:
          param1vg.P();
          if (!param1vg.E((B.x)tF).j("type").equalsIgnoreCase("hidden"))
            param1vg.j5(false); 
          return true;
        case 29:
          if (param1vg.b("svg") == null)
            return param1vg.oC(tF.f("img")); 
          param1vg.FE((B.x)tF);
          return true;
        case 28:
          param1vg.P();
          param1vg.FE((B.x)tF);
          return true;
        case 27:
          param1vg.P();
          if (param1vg.rd("nobr")) {
            param1vg.PD(this);
            param1vg.BQ("nobr");
            param1vg.P();
          } 
          param1vg.vm(param1vg.FE((B.x)tF));
          return true;
        case 26:
          param1vg.P();
          param1vg.FE((B.x)tF);
          return true;
        case 25:
          param1vg.PD(this);
          lm3 = param1vg.Ig().get(0);
          if (tF.R())
            for (tF tF : ((B.j)tF).Qy) {
              if (!lm3.i4(tF.V0()))
                lm3.I().w4(tF); 
            }  
          return true;
        case 24:
          if (param1vg.R() != null) {
            param1vg.PD(this);
            return false;
          } 
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.rl((B.x)tF, true);
          return true;
        case 23:
          param1vg.PD(this);
          arrayList2 = param1vg.Ig();
          if (arrayList2.size() == 1 || (arrayList2.size() > 2 && !((Lm)arrayList2.get(1)).w().equals("body")))
            return false; 
          param1vg.j5(false);
          lm2 = arrayList2.get(1);
          if (tF.R())
            for (tF tF : ((B.j)tF).Qy) {
              if (!lm2.i4(tF.V0()))
                lm2.I().w4(tF); 
            }  
          return true;
        case 22:
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.P();
          param1vg.j5(false);
          Ib.j((B.x)tF, param1vg);
          return true;
        case 21:
          param1vg.P();
          param1vg.FE((B.x)tF);
          return true;
        case 20:
        case 32:
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.FE((B.x)tF);
          param1vg.V0.LW("\n");
          param1vg.j5(false);
          return true;
        case 18:
        case 19:
          if (param1vg.rd("ruby")) {
            param1vg.PU();
            if (!param1vg.h().w().equals("ruby")) {
              param1vg.PD(this);
              param1vg.Y("ruby");
            } 
            param1vg.FE((B.x)tF);
          } 
          return true;
        case 17:
          param1vg.j5(false);
          arrayList3 = param1vg.Ig();
          for (i = arrayList3.size() - 1; i > 0; i--) {
            lm2 = arrayList3.get(i);
            if (lm2.w().equals("li")) {
              param1vg.BQ("li");
              break;
            } 
            if (param1vg.C(lm2) && !ZG.q(lm2.w(), Ib.sy.Qy))
              break; 
          } 
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.FE((B.x)tF);
          return true;
        case 16:
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.E((B.x)tF);
          param1vg.j5(false);
          return true;
        case 10:
        case 11:
        case 12:
        case 13:
        case 14:
        case 15:
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          if (ZG.q(param1vg.h().w(), Ib.sy.u)) {
            param1vg.PD(this);
            param1vg.rG();
          } 
          param1vg.FE((B.x)tF);
          return true;
        case 8:
        case 9:
          param1vg.j5(false);
          arrayList1 = param1vg.Ig();
          for (i = arrayList1.size() - 1; i > 0; i--) {
            Lm lm = arrayList1.get(i);
            if (ZG.q(lm.w(), Ib.sy.oq)) {
              param1vg.BQ(lm.w());
              break;
            } 
            if (param1vg.C(lm) && !ZG.q(lm.w(), Ib.sy.Qy))
              break; 
          } 
          if (param1vg.l("p"))
            param1vg.BQ("p"); 
          param1vg.FE((B.x)tF);
          return true;
        case 7:
          if (param1vg.w4("a") != null) {
            param1vg.PD(this);
            param1vg.BQ("a");
            Lm lm = param1vg.b("a");
            if (lm != null) {
              param1vg.Gg(lm);
              param1vg.Pi(lm);
            } 
          } 
          param1vg.P();
          param1vg.vm(param1vg.FE((B.x)tF));
          return true;
        case 5:
          param1vg.P();
          param1vg.FE((B.x)tF);
          param1vg.j5(false);
          ib = param1vg.U();
          if (ib.equals(Ib.u) || ib.equals(Ib.oq) || ib.equals(Ib.t) || ib.equals(Ib.n) || ib.equals(Ib.iU)) {
            param1vg.L0(Ib.y);
            return true;
          } 
          param1vg.L0(Ib.i4);
          return true;
        case 4:
          param1vg.FE((B.x)tF);
          if (!tF.b()) {
            param1vg.j.w4(xb.j);
            param1vg.hP();
            param1vg.j5(false);
            param1vg.L0(Ib.W);
          } 
          return true;
        case 3:
        case 6:
          if (param1vg.h().w().equals("option"))
            param1vg.BQ("option"); 
          param1vg.P();
          param1vg.FE((B.x)tF);
          return true;
        case 2:
          param1vg.j5(false);
          Ib.j((B.x)tF, param1vg);
          return true;
        case 1:
          if (param1vg.l("button")) {
            param1vg.PD(this);
            param1vg.BQ("button");
            param1vg.oC((B)tF);
          } else {
            param1vg.P();
            param1vg.FE((B.x)tF);
            param1vg.j5(false);
          } 
          return true;
        case 0:
          break;
      } 
      param1vg.PD(this);
      ArrayList<Lm> arrayList3 = param1vg.Ig();
      if (arrayList3.size() == 1 || (arrayList3.size() > 2 && !((Lm)arrayList3.get(1)).w().equals("body")))
        return false; 
      if (!param1vg.GM())
        return false; 
      Lm lm1 = arrayList3.get(1);
      if (lm1.lu() != null)
        lm1.nf(); 
      while (arrayList3.size() > 1)
        arrayList3.remove(arrayList3.size() - 1); 
      param1vg.FE((B.x)tF);
      param1vg.L0(Ib.j5);
      return true;
    }
    
    private boolean t(B param1B, vg param1vg) {
      String str = param1B.q().l();
      ArrayList<Lm> arrayList = param1vg.Ig();
      for (byte b = 0; b < 8; b++) {
        Lm lm1;
        Lm lm5 = param1vg.w4(str);
        if (lm5 == null)
          return oq(param1B, param1vg); 
        if (!param1vg.a(lm5)) {
          param1vg.PD(this);
          param1vg.Gg(lm5);
          return true;
        } 
        if (!param1vg.rd(lm5.w())) {
          param1vg.PD(this);
          return false;
        } 
        if (param1vg.h() != lm5)
          param1vg.PD(this); 
        int k = arrayList.size();
        int i = -1;
        Lm lm2 = null;
        Lm lm3 = null;
        byte b1 = 0;
        boolean bool = false;
        while (true) {
          lm1 = lm2;
          if (b1 < k) {
            lm1 = lm2;
            if (b1 < 64) {
              int m;
              boolean bool1;
              Lm lm = arrayList.get(b1);
              if (lm == lm5) {
                lm1 = arrayList.get(b1 - 1);
                m = param1vg.Oh(lm);
                bool1 = true;
              } else {
                m = i;
                bool1 = bool;
                lm1 = lm3;
                if (bool) {
                  m = i;
                  bool1 = bool;
                  lm1 = lm3;
                  if (param1vg.C(lm)) {
                    lm1 = lm;
                    break;
                  } 
                } 
              } 
              b1++;
              i = m;
              bool = bool1;
              lm3 = lm1;
              continue;
            } 
          } 
          break;
        } 
        if (lm1 == null) {
          param1vg.S(lm5.w());
          param1vg.Gg(lm5);
          return true;
        } 
        lm2 = lm1;
        Lm lm4 = lm2;
        for (b1 = 0; b1 < 3; b1++) {
          Lm lm = lm2;
          if (param1vg.a(lm2))
            lm = param1vg.oq(lm2); 
          if (!param1vg.fR(lm)) {
            param1vg.Pi(lm);
            lm2 = lm;
          } else {
            if (lm == lm5)
              break; 
            lm2 = new Lm(iP.iU(lm.PU(), Qg.V0), param1vg.LW());
            param1vg.K(lm, lm2);
            param1vg.MC(lm, lm2);
            if (lm4 == lm1)
              i = param1vg.Oh(lm2) + 1; 
            if (lm4.lu() != null)
              lm4.nf(); 
            lm2.rl(lm4);
            lm4 = lm2;
          } 
        } 
        if (lm3 != null)
          if (ZG.q(lm3.w(), Ib.sy.GM)) {
            if (lm4.lu() != null)
              lm4.nf(); 
            param1vg.ap(lm4);
          } else {
            if (lm4.lu() != null)
              lm4.nf(); 
            lm3.rl(lm4);
          }  
        lm2 = new Lm(lm5.XA(), param1vg.LW());
        lm2.I().I(lm5.I());
        fa[] arrayOfFa = lm1.Qy().<fa>toArray(new fa[0]);
        int j = arrayOfFa.length;
        for (b1 = 0; b1 < j; b1++)
          lm2.rl(arrayOfFa[b1]); 
        lm1.rl(lm2);
        param1vg.Gg(lm5);
        param1vg.B(lm2, i);
        param1vg.Pi(lm5);
        param1vg.SS(lm1, lm2);
      } 
      return true;
    }
    
    boolean Qy(B param1B, vg param1vg) {
      int i = Ib.RN.h[param1B.h.ordinal()];
      if (i != 1) {
        if (i != 2) {
          if (i != 3) {
            if (i != 4) {
              if (i == 5) {
                param1B = param1B.h();
                if (param1B.y().equals(Ib.q())) {
                  param1vg.PD(this);
                  return false;
                } 
                if (param1vg.GM() && Ib.h(param1B)) {
                  param1vg.P();
                  param1vg.v((B.HA)param1B);
                } else {
                  param1vg.P();
                  param1vg.v((B.HA)param1B);
                  param1vg.j5(false);
                } 
              } 
            } else {
              return F8(param1B, param1vg);
            } 
          } else {
            return n(param1B, param1vg);
          } 
        } else {
          param1vg.PD(this);
          return false;
        } 
      } else {
        param1vg.qG(param1B.V0());
      } 
      return true;
    }
    
    boolean oq(B param1B, vg param1vg) {
      String str = (param1B.q()).j;
      ArrayList<Lm> arrayList = param1vg.Ig();
      for (int i = arrayList.size() - 1; i >= 0; i--) {
        Lm lm = arrayList.get(i);
        if (lm.w().equals(str)) {
          param1vg.yx(str);
          if (!str.equals(param1vg.h().w()))
            param1vg.PD(this); 
          param1vg.S(str);
          break;
        } 
        if (param1vg.C(lm)) {
          param1vg.PD(this);
          return false;
        } 
      } 
      return true;
    }
  }
  
  enum d {
    private boolean F8(B param1B, vg param1vg) {
      if (!param1vg.H9("tbody") && !param1vg.H9("thead") && !param1vg.rd("tfoot")) {
        param1vg.PD(this);
        return false;
      } 
      param1vg.iU();
      param1vg.BQ(param1vg.h().w());
      return param1vg.oC(param1B);
    }
    
    private boolean oq(B param1B, vg param1vg) {
      return param1vg.Yd(param1B, Ib.u);
    }
    
    boolean Qy(B param1B, vg param1vg) {
      int i = Ib.RN.h[param1B.h.ordinal()];
      if (i != 3) {
        if (i != 4)
          return oq(param1B, param1vg); 
        String str = param1B.q().l();
        if (ZG.q(str, Ib.sy.To)) {
          if (!param1vg.H9(str)) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.iU();
          param1vg.rG();
          param1vg.L0(Ib.u);
        } else {
          if (str.equals("table"))
            return F8(param1B, param1vg); 
          if (ZG.q(str, Ib.sy.l)) {
            param1vg.PD(this);
            return false;
          } 
          return oq(param1B, param1vg);
        } 
      } else {
        B.x x = param1B.I();
        String str = x.l();
        if (str.equals("template")) {
          param1vg.FE(x);
        } else {
          if (str.equals("tr")) {
            param1vg.iU();
            param1vg.FE(x);
            param1vg.L0(Ib.n);
            return true;
          } 
          if (ZG.q(str, Ib.sy.LW)) {
            param1vg.PD(this);
            param1vg.W("tr");
            return param1vg.oC(x);
          } 
          return ZG.q(str, Ib.sy.Ig) ? F8(param1B, param1vg) : oq(param1B, param1vg);
        } 
      } 
      return true;
    }
  }
  
  enum i {
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
      } else if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        String str;
        if (param1B.u()) {
          param1vg.PD(this);
          return false;
        } 
        if (param1B.F8()) {
          B.x x = param1B.I();
          str = x.l();
          str.hashCode();
          byte b = -1;
          switch (str.hashCode()) {
            case 1192721831:
              if (!str.equals("noframes"))
                break; 
              b = 3;
              break;
            case 97692013:
              if (!str.equals("frame"))
                break; 
              b = 2;
              break;
            case 3213227:
              if (!str.equals("html"))
                break; 
              b = 1;
              break;
            case -1644953643:
              if (!str.equals("frameset"))
                break; 
              b = 0;
              break;
          } 
          switch (b) {
            default:
              param1vg.PD(this);
              return false;
            case 3:
              return param1vg.Yd(x, Ib.q);
            case 2:
              param1vg.E(x);
              return true;
            case 1:
              return param1vg.Yd(x, Ib.BQ);
            case 0:
              break;
          } 
          param1vg.FE(x);
        } else if (str.oq() && str.q().l().equals("frameset")) {
          if (param1vg.h().w().equals("html")) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.rG();
          if (!param1vg.g6() && !param1vg.h().w().equals("frameset"))
            param1vg.L0(Ib.GM); 
        } else {
          if (str.Qy()) {
            if (!param1vg.h().w().equals("html"))
              param1vg.PD(this); 
            return true;
          } 
          param1vg.PD(this);
          return false;
        } 
      } 
      return true;
    }
  }
  
  enum j {
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B)) {
        param1vg.v(param1B.h());
      } else if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        if (param1B.u()) {
          param1vg.PD(this);
          return false;
        } 
        if (param1B.F8() && param1B.I().l().equals("html"))
          return param1vg.Yd(param1B, Ib.BQ); 
        if (param1B.oq() && param1B.q().l().equals("html")) {
          if (param1vg.g6()) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.L0(Ib.PU);
        } else if (!param1B.Qy()) {
          param1vg.PD(this);
          param1vg.L0(Ib.BQ);
          return param1vg.oC(param1B);
        } 
      } 
      return true;
    }
  }
  
  enum kb {
    boolean Qy(B param1B, vg param1vg) {
      if (Ib.h(param1B))
        return true; 
      if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        w2 w2;
        if (param1B.u()) {
          B.c c = param1B.j();
          w2 = new w2(param1vg.W.j(c.i4()), c.PD(), c.j5());
          w2.M(c.y());
          param1vg.Og().rl(w2);
          if (c.GM())
            param1vg.Og().Kd(HZ.yh.V0); 
          param1vg.L0(Ib.V0);
          return true;
        } 
        param1vg.L0(Ib.V0);
        return param1vg.oC((B)w2);
      } 
      return true;
    }
  }
  
  enum p {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        if (param1B.u() || Ib.h(param1B) || (param1B.F8() && param1B.I().l().equals("html")))
          return param1vg.Yd(param1B, Ib.BQ); 
        if (!param1B.Qy()) {
          if (param1B.F8() && param1B.I().l().equals("noframes"))
            return param1vg.Yd(param1B, Ib.q); 
          param1vg.PD(this);
          return false;
        } 
      } 
      return true;
    }
  }
  
  enum pt {
    boolean Qy(B param1B, vg param1vg) {
      return true;
    }
  }
  
  enum q {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.W()) {
        param1vg.qG(param1B.V0());
      } else {
        if (param1B.u() || (param1B.F8() && param1B.I().l().equals("html")))
          return param1vg.Yd(param1B, Ib.BQ); 
        if (Ib.h(param1B)) {
          Lm lm = param1vg.S("html");
          param1vg.v(param1B.h());
          param1vg.I.add(lm);
          param1vg.I.add(lm.DQ("body"));
        } else if (!param1B.Qy()) {
          param1vg.PD(this);
          param1vg.L0(Ib.BQ);
          return param1vg.oC(param1B);
        } 
      } 
      return true;
    }
  }
  
  enum qM {
    private boolean oq(B param1B, vg param1vg) {
      param1vg.PD(this);
      return false;
    }
    
    boolean Qy(B param1B, vg param1vg) {
      byte b;
      String str1;
      B.x x;
      String str2;
      switch (Ib.RN.h[param1B.h.ordinal()]) {
        default:
          return oq(param1B, param1vg);
        case 6:
          if (!param1vg.h().w().equals("html"))
            param1vg.PD(this); 
          return true;
        case 5:
          param1B = param1B.h();
          if (param1B.y().equals(Ib.q())) {
            param1vg.PD(this);
            return false;
          } 
          param1vg.v((B.HA)param1B);
          return true;
        case 4:
          str1 = param1B.q().l();
          str1.hashCode();
          b = -1;
          switch (str1.hashCode()) {
            case -80773204:
              if (!str1.equals("optgroup"))
                break; 
              b = 2;
              break;
            case -906021636:
              if (!str1.equals("select"))
                break; 
              b = 1;
              break;
            case -1010136971:
              if (!str1.equals("option"))
                break; 
              b = 0;
              break;
          } 
          switch (b) {
            default:
              return oq(param1B, param1vg);
            case 2:
              if (param1vg.h().w().equals("option") && param1vg.oq(param1vg.h()) != null && param1vg.oq(param1vg.h()).w().equals("optgroup"))
                param1vg.BQ("option"); 
              if (param1vg.h().w().equals("optgroup")) {
                param1vg.rG();
              } else {
                param1vg.PD(this);
              } 
              return true;
            case 1:
              if (!param1vg.To(str1)) {
                param1vg.PD(this);
                return false;
              } 
              param1vg.S(str1);
              param1vg.e();
              return true;
            case 0:
              break;
          } 
          if (param1vg.h().w().equals("option")) {
            param1vg.rG();
          } else {
            param1vg.PD(this);
          } 
          return true;
        case 3:
          x = param1B.I();
          str2 = x.l();
          if (str2.equals("html"))
            return param1vg.Yd(x, Ib.BQ); 
          if (str2.equals("option")) {
            if (param1vg.h().w().equals("option"))
              param1vg.BQ("option"); 
            param1vg.FE(x);
          } else if (str2.equals("optgroup")) {
            if (param1vg.h().w().equals("option"))
              param1vg.BQ("option"); 
            if (param1vg.h().w().equals("optgroup"))
              param1vg.BQ("optgroup"); 
            param1vg.FE(x);
          } else {
            if (str2.equals("select")) {
              param1vg.PD(this);
              return param1vg.BQ("select");
            } 
            if (ZG.q(str2, Ib.sy.T)) {
              param1vg.PD(this);
              if (!param1vg.To("select"))
                return false; 
              param1vg.BQ("select");
              return param1vg.oC(x);
            } 
            return str2.equals("script") ? param1vg.Yd(param1B, Ib.q) : oq(param1B, param1vg);
          } 
          return true;
        case 2:
          param1vg.PD(this);
          return false;
        case 1:
          break;
      } 
      param1vg.qG(param1B.V0());
      return true;
    }
  }
  
  static final class sy {
    static final String[] BQ;
    
    static final String[] C4;
    
    static final String[] F;
    
    static final String[] F8;
    
    static final String[] GM;
    
    static final String[] I;
    
    static final String[] Ig;
    
    static final String[] LW;
    
    static final String[] Og;
    
    static final String[] PD;
    
    static final String[] PU;
    
    static final String[] Qy;
    
    static final String[] R;
    
    static final String[] T;
    
    static final String[] To;
    
    static final String[] V;
    
    static final String[] V0 = new String[] { "noframes", "style" };
    
    static final String[] W;
    
    static final String[] b;
    
    static final String[] f;
    
    static final String[] h = new String[] { "base", "basefont", "bgsound", "command", "link" };
    
    static final String[] i4;
    
    static final String[] iU;
    
    static final String[] j = new String[] { "body", "br", "html" };
    
    static final String[] j5;
    
    static final String[] l;
    
    static final String[] n;
    
    static final String[] nf;
    
    static final String[] oC;
    
    static final String[] oq;
    
    static final String[] q = new String[] { "body", "html" };
    
    static final String[] rd;
    
    static final String[] t;
    
    static final String[] u;
    
    static final String[] w4;
    
    static final String[] y;
    
    static final String[] yx;
    
    static final String[] z;
    
    static {
      I = new String[] { "body", "br", "head", "html" };
      oC = new String[] { "basefont", "bgsound", "link", "meta", "noframes", "style" };
      BQ = new String[] { "base", "basefont", "bgsound", "command", "link", "meta", "noframes", "script", "style", "title" };
      W = new String[] { 
          "address", "article", "aside", "blockquote", "center", "details", "dir", "div", "dl", "fieldset", 
          "figcaption", "figure", "footer", "header", "hgroup", "menu", "nav", "ol", "p", "section", 
          "summary", "ul" };
      u = new String[] { "h1", "h2", "h3", "h4", "h5", "h6" };
      Qy = new String[] { "address", "div", "p" };
      oq = new String[] { "dd", "dt" };
      F8 = new String[] { 
          "b", "big", "code", "em", "font", "i", "s", "small", "strike", "strong", 
          "tt", "u" };
      t = new String[] { "applet", "marquee", "object" };
      n = new String[] { "area", "br", "embed", "img", "keygen", "wbr" };
      iU = new String[] { "param", "source", "track" };
      i4 = new String[] { "action", "name", "prompt" };
      y = new String[] { 
          "caption", "col", "colgroup", "frame", "head", "tbody", "td", "tfoot", "th", "thead", 
          "tr" };
      PD = new String[] { 
          "address", "article", "aside", "blockquote", "button", "center", "details", "dir", "div", "dl", 
          "fieldset", "figcaption", "figure", "footer", "header", "hgroup", "listing", "menu", "nav", "ol", 
          "pre", "section", "summary", "ul" };
      j5 = new String[] { 
          "a", "b", "big", "code", "em", "font", "i", "nobr", "s", "small", 
          "strike", "strong", "tt", "u" };
      GM = new String[] { "table", "tbody", "tfoot", "thead", "tr" };
      PU = new String[] { "tbody", "tfoot", "thead" };
      yx = new String[] { "td", "th", "tr" };
      w4 = new String[] { "script", "style" };
      LW = new String[] { "td", "th" };
      Og = new String[] { "body", "caption", "col", "colgroup", "html" };
      R = new String[] { "table", "tbody", "tfoot", "thead", "tr" };
      b = new String[] { "caption", "col", "colgroup", "tbody", "td", "tfoot", "th", "thead", "tr" };
      C4 = new String[] { 
          "body", "caption", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", 
          "tr" };
      f = new String[] { "table", "tbody", "tfoot", "thead", "tr" };
      Ig = new String[] { "caption", "col", "colgroup", "tbody", "tfoot", "thead" };
      l = new String[] { "body", "caption", "col", "colgroup", "html", "td", "th", "tr" };
      nf = new String[] { "caption", "col", "colgroup", "tbody", "tfoot", "thead", "tr" };
      rd = new String[] { "body", "caption", "col", "colgroup", "html", "td", "th" };
      T = new String[] { "input", "keygen", "textarea" };
      V = new String[] { "caption", "table", "tbody", "td", "tfoot", "th", "thead", "tr" };
      To = new String[] { "tbody", "tfoot", "thead" };
      z = new String[] { "head", "noscript" };
      F = new String[] { "body", "col", "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr" };
    }
  }
  
  enum x {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.F8() && ZG.q(param1B.I().l(), Ib.sy.V)) {
        param1vg.PD(this);
        param1vg.BQ("select");
        return param1vg.oC(param1B);
      } 
      if (param1B.oq() && ZG.q(param1B.q().l(), Ib.sy.V)) {
        param1vg.PD(this);
        if (param1vg.H9(param1B.q().l())) {
          param1vg.BQ("select");
          return param1vg.oC(param1B);
        } 
        return false;
      } 
      return param1vg.Yd(param1B, Ib.i4);
    }
  }
  
  enum yh {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.oq() && param1B.q().l().equals("caption")) {
        if (!param1vg.H9(param1B.q().l())) {
          param1vg.PD(this);
          return false;
        } 
        param1vg.PU();
        if (!param1vg.h().w().equals("caption"))
          param1vg.PD(this); 
        param1vg.S("caption");
        param1vg.t();
        param1vg.L0(Ib.u);
      } else {
        if ((param1B.F8() && ZG.q(param1B.I().l(), Ib.sy.b)) || (param1B.oq() && param1B.q().l().equals("table"))) {
          param1vg.PD(this);
          return param1vg.BQ("caption") ? param1vg.oC(param1B) : true;
        } 
        if (param1B.oq() && ZG.q(param1B.q().l(), Ib.sy.F)) {
          param1vg.PD(this);
          return false;
        } 
        return param1vg.Yd(param1B, Ib.BQ);
      } 
      return true;
    }
  }
  
  enum z {
    boolean Qy(B param1B, vg param1vg) {
      if (param1B.BQ()) {
        param1vg.v(param1B.h());
      } else {
        if (param1B.Qy()) {
          param1vg.PD(this);
          param1vg.rG();
          param1vg.L0(param1vg.Xu());
          return param1vg.oC(param1B);
        } 
        if (param1B.oq()) {
          param1vg.rG();
          param1vg.L0(param1vg.Xu());
        } 
      } 
      return true;
    }
  }
}


/* Location:              /Users/hetaiyi/Desktop/my/tech/java/study/aa/temp/temp.jar!/com/github/catvod/spider/merge/Ib.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       1.1.3
 */